import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;


public class P72_1 {
	public static void main(String[] args) {
		//int x = 1000000;
		//int x = 4;
		
		
		
		for (int x = 1; x <= 20; x++) {
			int count = 0;	
			for (int i = 1; i <= x; i++) {
				//System.out.println(i);
				for (int j = 1; j < i; j++) {
					if (j == 1) {
						//System.out.println(j + "/" + i);
						count++;
					} else {
						if (i%j == 0) {
						} else {
							boolean ok = true;
							for (int k = 2; k <= j/2; k++) {
								if (i%k == 0 && j%k == 0) {
									ok = false;
									break;
								}
							}
							
							if (ok) {
							//	System.out.println(j + "/" + i);
								count++;
							}
						}
					}
					
				}			
			}
			
			System.out.println(">>>" + count);
		}
	}
}
